Microsoft DirectX 8.1 (C++)

COutputQueue::Receive

The Receive method delivers a media sample to the input pin.

Syntax

HRESULT Receive(
    IMediaSample *pSample
);

Parameters

pSample

Pointer to the sample's IMediaSample interface.

Return Value

Returns an HRESULT value. Possible values include those shown in the following table.

Value Description
S_FALSE End-of-stream notification received before processing this sample.
S_OK Success.

Remarks

This method calls the COutputQueue::ReceiveMultiple method.

See Also